package org.marlin.http.http;


/**
 * init version 1.5.0
 * @author Jack ZG
 * @since 1.0.0
 */
public class Parameter<T> {
    private String name;
    private T value;
    private Class<T> tClass;

    public Parameter(String name, T value, Class<T> tClass) {
        this.name = name;
        this.value = value;
        this.tClass = tClass;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public T getValue() {
        return this.value;
    }

    public void setValue(T value) {
        this.value = value;
    }

    public Class<T> gettClass() {
        return this.tClass;
    }

    public void settClass(Class<T> tClass) {
        this.tClass = tClass;
    }
}

